<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<form id="kqPay" name="kqPay" action="https://pay3.chinabank.com.cn/PayGate?encoding=UTF-8" method="post">
	<input type="hidden" name="v_mid" value="${v_mid}" />
	<input type="hidden" name="v_oid" value="${v_oid}" />
	<input type="hidden" name="v_amount" value="${v_amount}" />
	<input type="hidden" name="v_moneytype" value="${v_moneytype}" />
	<input type="hidden" name="v_url" value="${v_url}" />
	<input type="hidden" name="pmode_id" value="${pmode_id}" />
	<input type="hidden" name="remark1" value="${remark1}" />
	<input type="hidden" name="remark2" value="${remark2}" />
	<input type="hidden" name="v_md5info" value="${v_md5info}" />
	
	<input type="hidden" name="v_rcvname" value="${v_rcvname}" />
	<input type="hidden" name="v_rcvaddr" value="${v_rcvaddr}" />
	<input type="hidden" name="v_rcvtel" value="${v_rcvtel}" />
	<input type="hidden" name="v_rcvpost" value="${v_rcvpost}" />
	<input type="hidden" name="v_rcvemail" value="${v_rcvemail}" />
	<input type="hidden" name="v_rcvmobile" value="${v_rcvmobile}" />
	<input type="hidden" name="v_ordername" value="${v_ordername}" />
	<input type="hidden" name="v_orderaddr" value="${v_orderaddr}" />
	<input type="hidden" name="v_ordertel" value="${v_ordertel}" />
	<input type="hidden" name="v_orderpost" value="${v_orderpost}" />
	<input type="hidden" name="v_orderemail" value="${v_orderemail}" />
	<input type="hidden" name="v_ordermobile" value="${v_ordermobile}" />
	<c:choose>
		<c:when test="${fn:length(remark1)> 132}">
			<script>
				alert("由于需要支付的订单过多，请到会员中心单个支付");
				window.location = "/vipCenter/listMyOrders.do?columnID=1715&menu_id=5";
			</script>
		</c:when>
		<c:otherwise>
			<script>
				document.getElementById('kqPay').submit();
			</script>
		</c:otherwise>
	</c:choose>
	
</form>